package com.fz.service.project;

import com.fz.common.ResponseEntity;
import com.fz.dto.project.projectPartMap.ProjectPartMapAdd;
import com.fz.dto.project.projectPartMap.ProjectPartMapQuery;
import com.fz.dto.project.projectPartMap.ProjectPartMapUpd;
import com.fz.vo.project.projectPartMap.ProjectPartMapVo;

/**
 * @author :xmj
 * @date :2021/3/25 下午5:45
 */
public interface ProjectPartMapService {
    /**
     * 查询项目标段对应关系分页
     *
     * @param pageNum
     * @param pageSize
     * @param projectPartMapQuery
     * @return
     */
    ResponseEntity<ProjectPartMapVo> findProjectPartMapList(Integer pageNum, Integer pageSize, ProjectPartMapQuery projectPartMapQuery);

    /**
     * 新增项目标段映射关系
     *
     * @param projectPartMapAdd
     * @return
     */
    ResponseEntity<ProjectPartMapVo> saveProjectPartMap(ProjectPartMapAdd projectPartMapAdd);

    /**
     * 修改项目标段映射关系
     *
     * @param projectPartMapUpd
     * @return
     */
    ResponseEntity<ProjectPartMapVo> updateProjectPartMap(ProjectPartMapUpd projectPartMapUpd);

    /**
     * 删除项目标段映射关系
     *
     * @param ids  主键ID以逗号分割
     * @return
     */
    ResponseEntity<ProjectPartMapVo> delProjectPartMap(String ids);
}
